package com.zzld.modules.maintenance.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonFormat;

@Table(name = "zzld_maintenance_path")
public class Path {
    @Id
    private String id;

    private String pathname;

    private String pid;

    private BigDecimal sort;

    private Integer islat;

    @Column(name = "create_time")
    private Date createTime;

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return pathname
     */
    public String getPathname() {
        return pathname;
    }

    /**
     * @param pathname
     */
    public void setPathname(String pathname) {
        this.pathname = pathname;
    }

    /**
     * @return pid
     */
    public String getPid() {
        return pid;
    }

    /**
     * @param pid
     */
    public void setPid(String pid) {
        this.pid = pid;
    }

    /**
     * @return sort
     */
    public BigDecimal getSort() {
        return sort;
    }

    /**
     * @param sort
     */
    public void setSort(BigDecimal sort) {
        this.sort = sort;
    }

    /**
     * @return islat
     */
    public Integer getIslat() {
        return islat;
    }

    /**
     * @param islat
     */
    public void setIslat(Integer islat) {
        this.islat = islat;
    }

    /**
     * @return create_time
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}